-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here

-- 定义变量
local map = vim.api.nvim_set_keymap
-- 复用参数
-- silent: true不打印对应的按键，默认为false
-- noremap: 
-- remap: 按键递归映射
local opt = {noremap = true, silent = true}
local key = vim.keymap

--插入模式粘贴
key.set("i", "<C-v>", '<ESC>"+p$')
--插入模式按Shift+Insert 粘贴
key.set("i", "<S-Insert>", '<ESC>"+p$')
